<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"><title>hexo-Butterfly-3-文章页设置 | 梧桐的学习日记</title><meta name="author" content="梧桐影下月光卧"><meta name="copyright" content="梧桐影下月光卧"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="_config.butterfly.yml设置：  文章页设置 post_meta版权 post_copyright打赏 reward文章页目录 tocpost    文章页是否显示 TOCpage    普通页面是否显示 TOCnumber    是否显示章节数expand    是否展开 TOCstyle_simple    简洁模式（侧边栏只显示 TOC, 只对文章页有效 ）scroll_">
<meta property="og:type" content="article">
<meta property="og:title" content="hexo-Butterfly-3-文章页设置">
<meta property="og:url" content="https://acwy.fun/2023/04/10/hexo-Butterfly-3-%E6%96%87%E7%AB%A0%E9%A1%B5%E8%AE%BE%E7%BD%AE/index.html">
<meta property="og:site_name" content="梧桐的学习日记">
<meta property="og:description" content="_config.butterfly.yml设置：  文章页设置 post_meta版权 post_copyright打赏 reward文章页目录 tocpost    文章页是否显示 TOCpage    普通页面是否显示 TOCnumber    是否显示章节数expand    是否展开 TOCstyle_simple    简洁模式（侧边栏只显示 TOC, 只对文章页有效 ）scroll_">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b">
<meta property="article:published_time" content="2023-04-10T12:54:23.000Z">
<meta property="article:modified_time" content="2023-11-29T09:40:54.994Z">
<meta property="article:author" content="梧桐影下月光卧">
<meta property="article:tag" content="hexo">
<meta property="article:tag" content="hexo-Butterfly - 静态博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b"><link rel="shortcut icon" href="/img/logo.png"><link rel="canonical" href="https://acwy.fun/2023/04/10/hexo-Butterfly-3-%E6%96%87%E7%AB%A0%E9%A1%B5%E8%AE%BE%E7%BD%AE/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: true,
  }
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'hexo-Butterfly-3-文章页设置',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-11-29 17:40:54'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.2"></head><body><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pace-js/themes/blue/pace-theme-minimal.min.css"/><script src="https://cdn.jsdelivr.net/npm/pace-js/pace.min.js"></script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="/img/logo.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">28</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">35</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 目录</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg fixed" id="page-header" style="background-image: url('https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b')"><nav id="nav"><span id="blog-info"><a href="/" title="梧桐的学习日记"><span class="site-name">梧桐的学习日记</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 目录</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">hexo-Butterfly-3-文章页设置</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2023-04-10T12:54:23.000Z" title="发表于 2023-04-10 20:54:23">2023-04-10</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-11-29T09:40:54.994Z" title="更新于 2023-11-29 17:40:54">2023-11-29</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">495</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>1分钟</span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><blockquote>
<p><code>_config.butterfly.yml</code>设置：</p>
</blockquote>
<h3 id="文章页设置-post-meta"><a href="#文章页设置-post-meta" class="headerlink" title="文章页设置 post_meta"></a>文章页设置 <code>post_meta</code></h3><h3 id="版权-post-copyright"><a href="#版权-post-copyright" class="headerlink" title="版权 post_copyright"></a>版权 <code>post_copyright</code></h3><h3 id="打赏-reward"><a href="#打赏-reward" class="headerlink" title="打赏 reward"></a>打赏 <code>reward</code></h3><h3 id="文章页目录-toc"><a href="#文章页目录-toc" class="headerlink" title="文章页目录 toc"></a>文章页目录 <code>toc</code></h3><p>post    文章页是否显示 TOC<br>page    普通页面是否显示 TOC<br>number    是否显示章节数<br>expand    是否展开 TOC<br>style_simple    简洁模式（侧边栏只显示 TOC, 只对文章页有效 ）<br>scroll_percent    是否显示滚动进度百分比</p>
<h3 id="相关、推荐文章-related-post"><a href="#相关、推荐文章-related-post" class="headerlink" title="相关、推荐文章 related_post"></a>相关、推荐文章 <code>related_post</code></h3><h3 id="文章过期提醒-noticeOutdate"><a href="#文章过期提醒-noticeOutdate" class="headerlink" title="文章过期提醒 noticeOutdate"></a>文章过期提醒 <code>noticeOutdate</code></h3><p>limit_day： 距离更新时间多少天才显示文章过期提醒<br>message_prev ： 天数之前的文字<br>message_next：天数之后的文字</p>
<h3 id="文章编辑按钮-post-edit"><a href="#文章编辑按钮-post-edit" class="headerlink" title="文章编辑按钮 post_edit"></a>文章编辑按钮 <code>post_edit</code></h3><p>在文章标题旁边显示一个编辑按钮，点击会跳转到对应的链接去</p>
<h3 id="文章分页按钮-post-pagination"><a href="#文章分页按钮-post-pagination" class="headerlink" title="文章分页按钮 post_pagination"></a>文章分页按钮 <code>post_pagination</code></h3><p>post_pagination: false    关闭分页按钮<br>post_pagination: 1    下一篇显示的是旧文章<br>post_pagination: 2    下一篇显示的是新文章</p>
<h3 id="页面锚点-anchor"><a href="#页面锚点-anchor" class="headerlink" title="页面锚点 anchor"></a>页面锚点 <code>anchor</code></h3><h3 id="头像-avatar"><a href="#头像-avatar" class="headerlink" title="头像 avatar"></a>头像 <code>avatar</code></h3><p>avatar:<br>  img: /img/avatar.png<br>  effect: true # 头像会一直转圈</p>
<h3 id="开启图片Figcaption描述文字显示-photofigcaption"><a href="#开启图片Figcaption描述文字显示-photofigcaption" class="headerlink" title="开启图片Figcaption描述文字显示 photofigcaption"></a>开启图片Figcaption描述文字显示 <code>photofigcaption</code></h3><h3 id="网站是否可以复制、复制的内容是否添加版权信息-copy-settings"><a href="#网站是否可以复制、复制的内容是否添加版权信息-copy-settings" class="headerlink" title="网站是否可以复制、复制的内容是否添加版权信息 copy settings"></a>网站是否可以复制、复制的内容是否添加版权信息 <code>copy settings</code></h3><p>enable    是否开启网站复制权限 <code>开启后自动加上版权信息</code><br>copyright    复制的内容后面加上版权信息<br>enable    是否开启复制版权信息添加<br>limit_count    字数限制，当复制文字大于这个字数限制时，将在复制的内容后面加上版权信息</p>
<h3 id="右下角按钮"><a href="#右下角按钮" class="headerlink" title="右下角按钮"></a>右下角按钮</h3><figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">translate:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span></span><br><span class="line">  <span class="comment"># 默认按钮显示文字(网站是简体，应设置为&#x27;default: 繁&#x27;)</span></span><br><span class="line">  <span class="attr">default:</span> <span class="string">简</span></span><br><span class="line">  <span class="comment">#网站默认语言，1: 繁体中文, 2: 简体中文</span></span><br><span class="line">  <span class="attr">defaultEncoding:</span> <span class="number">1</span></span><br><span class="line">  <span class="comment">#延迟时间,若不在前, 要设定延迟翻译时间, 如100表示100ms,默认为0</span></span><br><span class="line">  <span class="attr">translateDelay:</span> <span class="number">0</span></span><br><span class="line">  <span class="comment">#当文字是简体时，按钮显示的文字</span></span><br><span class="line">  <span class="attr">msgToTraditionalChinese:</span> <span class="string">&quot;繁&quot;</span></span><br><span class="line">  <span class="comment">#当文字是繁体时，按钮显示的文字</span></span><br><span class="line">  <span class="attr">msgToSimplifiedChinese:</span> <span class="string">&quot;简&quot;</span></span><br></pre></td></tr></table></figure>
<h3 id="滚动状态百分比-rightside-scroll-percent"><a href="#滚动状态百分比-rightside-scroll-percent" class="headerlink" title="滚动状态百分比 rightside_scroll_percent"></a>滚动状态百分比 <code>rightside_scroll_percent</code></h3><h3 id="夜间模式-dark-mode"><a href="#夜间模式-dark-mode" class="headerlink" title="夜间模式 dark mode"></a>夜间模式 <code>dark mode</code></h3><h3 id="最新评论-newest-comments"><a href="#最新评论-newest-comments" class="headerlink" title="最新评论 newest_comments"></a>最新评论 <code>newest_comments</code></h3><p>limit    显示的数量<br>storage    设置缓存时间，单位 分钟<br>avatar    是否显示头像</p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://acwy.fun">梧桐影下月光卧</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://acwy.fun/2023/04/10/hexo-Butterfly-3-%E6%96%87%E7%AB%A0%E9%A1%B5%E8%AE%BE%E7%BD%AE/">https://acwy.fun/2023/04/10/hexo-Butterfly-3-%E6%96%87%E7%AB%A0%E9%A1%B5%E8%AE%BE%E7%BD%AE/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://acwy.fun" target="_blank">梧桐的学习日记</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/hexo/">hexo</a><a class="post-meta__tags" href="/tags/hexo-Butterfly-%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2/">hexo-Butterfly - 静态博客</a></div><div class="post_share"><div class="social-share" data-image="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="/img/wechatpay.png" target="_blank"><img class="post-qr-code-img" src= "" data-lazy-src="/img/wechatpay.png" alt="微信"/></a><div class="post-qr-code-desc">微信</div></li><li class="reward-item"><a href="/img/alipay.png" target="_blank"><img class="post-qr-code-img" src= "" data-lazy-src="/img/alipay.png" alt="支付宝"/></a><div class="post-qr-code-desc">支付宝</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2023/05/10/%E5%B8%B8%E7%94%A8%E8%AF%AD%E8%A8%80%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F%E6%BA%90/" title="常用语言国内镜像"><img class="cover" src= "" data-lazy-src="https://img0.baidu.com/it/u=3433175296,3307113082&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG?w=607&amp;h=385" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">常用语言国内镜像</div></div></a></div><div class="next-post pull-right"><a href="/2023/04/10/hexo-Butterfly-2-%E7%94%9F%E6%88%90%E6%96%87%E7%AB%A0%E5%92%8C%E9%A1%B5%E9%9D%A2/" title="hexo-Butterfly-2-生成文章和页面"><img class="cover" src= "" data-lazy-src="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">hexo-Butterfly-2-生成文章和页面</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/2023/04/10/hexo-Butterfly-1-%E5%85%A8%E5%B1%80%E8%AE%BE%E7%BD%AE(%E5%AE%89%E8%A3%85%E3%80%81%E6%A0%87%E9%A2%98%E3%80%81%E8%8F%9C%E5%8D%95%E3%80%81%E5%9B%BE%E6%A0%87%E3%80%81%E9%A1%B6%E9%83%A8%E3%80%81%E9%A1%B5%E8%84%9A%E3%80%81%E4%BE%A7%E8%BE%B9%E6%A0%8F%E3%80%81%E5%9B%BE%E7%89%87%E8%AE%BE%E7%BD%AE)/" title="hexo-Butterfly-全局设置(安装、标题、菜单、图标、顶部、页脚、侧边栏、图片设置)"><img class="cover" src= "" data-lazy-src="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-04-10</div><div class="title">hexo-Butterfly-全局设置(安装、标题、菜单、图标、顶部、页脚、侧边栏、图片设置)</div></div></a></div><div><a href="/2023/08/24/hexo-Butterfly-4-%E5%A4%96%E6%8C%82%E6%A0%87%E7%AD%BEtab%E3%80%81button%E3%80%81%E5%9B%BE%E7%89%87%E3%80%81%E9%AB%98%E4%BA%AE%E3%80%81%E8%87%AA%E5%AE%9A%E4%B9%89html/" title="hexo-Butterfly-4-外挂标签tab、button、图片、高亮、自定义html"><img class="cover" src= "" data-lazy-src="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-08-24</div><div class="title">hexo-Butterfly-4-外挂标签tab、button、图片、高亮、自定义html</div></div></a></div><div><a href="/2023/04/10/hexo-Butterfly-2-%E7%94%9F%E6%88%90%E6%96%87%E7%AB%A0%E5%92%8C%E9%A1%B5%E9%9D%A2/" title="hexo-Butterfly-2-生成文章和页面"><img class="cover" src= "" data-lazy-src="https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-04-10</div><div class="title">hexo-Butterfly-2-生成文章和页面</div></div></a></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="/img/logo.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">梧桐影下月光卧</div><div class="author-info__description">分享个人学习路上的小知识</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">28</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">35</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://beau.acwy.fun"><i class="fa-solid fa-envelope"></i><span>点击联系我</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content"><b> <font color="#e66b6d">欢</font> <font color="#e66d98">迎</font> <font color="#e66cc6">访</font> <font color="#cc6de6">问</font> <font color="#9770e6">a</font> <font color="#6d93e6">c</font> <font color="#6fcde6">w</font> <font color="#72e6b6">y</font> <font color="#72e689">的</font> <font color="#99e670">学</font> <font color="#cde670">习</font> <font color="#e6df72">日</font> <font color="#e6c073">记</font> </b> <p align="center"> <img src= "" data-lazy-src="https://upyun.acwy.fun/acwy.fun/公告1.gif" width="50" alt="mao"> </p> <p align="center">微信：acwy0718</p> <p align="center">邮箱：awy0718@gmail.com</p></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%96%87%E7%AB%A0%E9%A1%B5%E8%AE%BE%E7%BD%AE-post-meta"><span class="toc-number">1.</span> <span class="toc-text">文章页设置 post_meta</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%89%88%E6%9D%83-post-copyright"><span class="toc-number">2.</span> <span class="toc-text">版权 post_copyright</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%89%93%E8%B5%8F-reward"><span class="toc-number">3.</span> <span class="toc-text">打赏 reward</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%96%87%E7%AB%A0%E9%A1%B5%E7%9B%AE%E5%BD%95-toc"><span class="toc-number">4.</span> <span class="toc-text">文章页目录 toc</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%9B%B8%E5%85%B3%E3%80%81%E6%8E%A8%E8%8D%90%E6%96%87%E7%AB%A0-related-post"><span class="toc-number">5.</span> <span class="toc-text">相关、推荐文章 related_post</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%96%87%E7%AB%A0%E8%BF%87%E6%9C%9F%E6%8F%90%E9%86%92-noticeOutdate"><span class="toc-number">6.</span> <span class="toc-text">文章过期提醒 noticeOutdate</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%96%87%E7%AB%A0%E7%BC%96%E8%BE%91%E6%8C%89%E9%92%AE-post-edit"><span class="toc-number">7.</span> <span class="toc-text">文章编辑按钮 post_edit</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%96%87%E7%AB%A0%E5%88%86%E9%A1%B5%E6%8C%89%E9%92%AE-post-pagination"><span class="toc-number">8.</span> <span class="toc-text">文章分页按钮 post_pagination</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%A1%B5%E9%9D%A2%E9%94%9A%E7%82%B9-anchor"><span class="toc-number">9.</span> <span class="toc-text">页面锚点 anchor</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%A4%B4%E5%83%8F-avatar"><span class="toc-number">10.</span> <span class="toc-text">头像 avatar</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%BC%80%E5%90%AF%E5%9B%BE%E7%89%87Figcaption%E6%8F%8F%E8%BF%B0%E6%96%87%E5%AD%97%E6%98%BE%E7%A4%BA-photofigcaption"><span class="toc-number">11.</span> <span class="toc-text">开启图片Figcaption描述文字显示 photofigcaption</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BD%91%E7%AB%99%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E5%A4%8D%E5%88%B6%E3%80%81%E5%A4%8D%E5%88%B6%E7%9A%84%E5%86%85%E5%AE%B9%E6%98%AF%E5%90%A6%E6%B7%BB%E5%8A%A0%E7%89%88%E6%9D%83%E4%BF%A1%E6%81%AF-copy-settings"><span class="toc-number">12.</span> <span class="toc-text">网站是否可以复制、复制的内容是否添加版权信息 copy settings</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%8F%B3%E4%B8%8B%E8%A7%92%E6%8C%89%E9%92%AE"><span class="toc-number">13.</span> <span class="toc-text">右下角按钮</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%BB%9A%E5%8A%A8%E7%8A%B6%E6%80%81%E7%99%BE%E5%88%86%E6%AF%94-rightside-scroll-percent"><span class="toc-number">14.</span> <span class="toc-text">滚动状态百分比 rightside_scroll_percent</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%A4%9C%E9%97%B4%E6%A8%A1%E5%BC%8F-dark-mode"><span class="toc-number">15.</span> <span class="toc-text">夜间模式 dark mode</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%9C%80%E6%96%B0%E8%AF%84%E8%AE%BA-newest-comments"><span class="toc-number">16.</span> <span class="toc-text">最新评论 newest_comments</span></a></li></ol></div></div></div></div></main><footer id="footer" style="background-image: url('https://pic1.zhimg.com/v2-f5ca1150bf22dd77e636b0e2fced6d1c_1440w.jpg?source=172ae18b')"><div id="footer-wrap"><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><div> <a href="https://beian.miit.gov.cn/" target="_blank">豫ICP备2023010490号-1</a> </div> <div> <a style="display:flex;justify-content:center;align-items:center;" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=41152402000204"> <img src= "" data-lazy-src="/img/beian.png" style="width:20px;height:20px;margin:0 5px"> <span>豫公网安备 41152402000204号</span> </a> </div> <div> <a style="display:flex;justify-content:center;" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank"> <span>本网站由</span> <img style="height:30px;margin:0 3px" src= "" data-lazy-src="/img/upyun_logo5.png"> <span>提供CDN加速/云存储服务</span> </a> <div/></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><div class="js-pjax"></div><canvas class="fireworks" mobile="false"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/fireworks.min.js"></script><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="true" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script></div></body></html>